import { list2Map } from './dataUtil'

// EARLY(10, "早班"), MIDDLE(20, "中班"), LATE(30, "晚班");
export const scheduleTypeList = [
  {
    label: '早班',
    value: 10,
  },
  {
    label: '中班',
    value: 20,
  },
  {
    label: '晚班',
    value: 30,
  },
]
export const scheduleTypeMap = list2Map(scheduleTypeList, 'value')

// scheduleTypeMap[(params || {}).scheduleType]?.label;
